package com.hqyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 答题记录表
 * </p>
 *
 * @author rock
 * @since 2021-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AnswerSheet implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 答题记录表
     */
    @TableId(value = "answer_id", type = IdType.AUTO)
    private Integer answerId;

    /**
     * 试卷编号
     */
    private Integer examId;

    /**
     * 题目编号
     */
    private Integer questionId;

    /**
     * 正确答案
     */
    private String rightAnswer;

    /**
     * 考生答案
     */
    private String stuAnswer;

    /**
     * 题目分值
     */
    private Integer questionScore;

    /**
     * 考生得分
     */
    private Integer answerScore;

    /**
     * 考生编号
     */
    private Integer stuId;

    /**
     * 考生考试答题记录
     * */
    @TableField(exist = false)
    private List<AnswerSheet> answerList;


}
